representation of functions